package main
import(
	"fmt"
)
type integer int
func(i integer) print(){
    fmt.Println("i=",i)
}

func(i *integer)change(){
    *i = *i+1
}

type Person struct{
	Name string
}
func(p *Person) String()string{
	str :=fmt.Sprintln("name=",p.Name)
	return str
}
func main(){
    var i integer = 10
    i.print()
    i.change()
    fmt.Println("i=",i)

	// p:=Person{"jack"}
	var p  Person = new(Person)
	fmt.Println(&p)
	
}